package fr.inria.phoenix.scenario.bwsnfirefighting.framework.distributed.alarmmanager;

import java.util.HashMap;

import java.lang.Boolean;


import fr.inria.diagen.core.service.proxy.Proxy;
import fr.inria.diagen.core.processor.AbstractProcessor;
import fr.inria.diagen.core.network.RemoteServiceInfo;
import fr.inria.diagen.core.exception.InvocationException;

public class SoundProxy extends Proxy {
  public SoundProxy(AbstractProcessor processor, RemoteServiceInfo remoteServiceInfo) {
    super(processor, remoteServiceInfo);
  }
  
    /**
     * 
     */
    public void deactivate() throws InvocationException {
      getProcessor().command(getRemoteServiceInfo(), "deactivate" );
    }
    /**
     * 
     */
    public void activate() throws InvocationException {
      getProcessor().command(getRemoteServiceInfo(), "activate" );
    }



    public java.lang.Boolean getActivated() {
      return (java.lang.Boolean) getRemoteServiceInfo().getAttributes().get("activated");
    }

}
